package com.cac.demo.newCode.cemop.dto;

import lombok.Data;

import java.util.Date;

@Data
public class CemopLogDTO {
    private int id;
    /**
     * 接收url
     */
    private String receiveDataUrl;
    /**
     * 接收数据
     */
    private String receiveData;
    /**
     * 发送url
     */
    private String sendDataUrl;
    /**
     * 发送数据
     */
    private String sendData;
    /**
     * 日志类型
     */
    private String logType;
    /**
     * 接口名称
     */
    private String interfaceName;
    /**
     * 日志等级
     */
    private String logLevel;
    /**
     * 日志区域
     */
    private String logArea;
    /**
     * 日志平台
     */
    private String logPlatform;
    /**
     * 创建时间
     */
    private String createDate;
    /**
     * 分页参数
     */
    private Long current;
    private Long size;
    /**
     * 时间范围查询时使用
     */
    private String createStartDate;
    private String createEndDate;

    private String pageTotal;

    public CemopLogDTO(int id, String receiveDataUrl, String receiveData, String sendDataUrl, String sendData, String logType, String interfaceName, String logLevel, String logArea, String logPlatform, String createDate) {
        this.id = id;
        this.receiveDataUrl = receiveDataUrl;
        this.receiveData = receiveData;
        this.sendDataUrl = sendDataUrl;
        this.sendData = sendData;
        this.logType = logType;
        this.interfaceName = interfaceName;
        this.logLevel = logLevel;
        this.logArea = logArea;
        this.logPlatform = logPlatform;
        this.createDate = createDate;
    }

    public CemopLogDTO() {
    }
}
